PROGRAMS = wrc
EXTRALIBS = $(GETTEXTPO_LIBS)

C_SRCS = \
	dumpres.c \
	genres.c \
	newstruc.c \
	po.c \
	translation.c \
	utils.c \
	wpp.c \
	wrc.c \
	writeres.c

LEX_SRCS = \
	parser.l \
	ppl.l

BISON_SRCS = \
	parser.y \
	ppy.y

MANPAGES = wrc.man.in

wrc_EXTRADEFS = \
	-DNLSDIR="\"${nlsdir}\"" \
	-DINCLUDEDIR="\"${includedir}\"" \
	-DBIN_TO_NLSDIR=\"`${MAKEDEP} -R ${bindir} ${nlsdir}`\" \
	-DBIN_TO_INCLUDEDIR=\"`${MAKEDEP} -R ${bindir} ${includedir}`\"

INSTALL_DEV = $(PROGRAMS)
